package com.gitee.springboot_userdemo.service;

import com.gitee.springboot_userdemo.domain.User;

import java.util.List;

public interface UserService {
    //查询用户列表
    List<User> selectAll();
    //根据id删除用户记录
    void deleteById(int uid);
    //根据id查询
    User selectByUid(int uid);
    //更新用户数据
    void updateUser(User user);
    //添加用户
    void addUser(User user);

}
